package com.geline.sqlbackup.bean;

import java.io.Serializable;
import java.util.List;

/**
 * @author: mengx
 * @date: 2021/5/14 10:40
 */
public class LabelValue implements Serializable {

    private String label;
    private Object value;
    private Boolean checked;//是否默认选中
    private List<LabelValue> children;

    public LabelValue(){
        this.label = "label";
        this.value = "value";
    }

    public LabelValue(String label, Object value){
        this.label = label;
        this.value = value;
    }

    public LabelValue(String label, Object value, Boolean checked){
        this.label = label;
        this.value = value;
        this.checked = checked;
    }

    public String getLabel() {
        return label;
    }

    public void setLabel(String label) {
        this.label = label;
    }

    public Object getValue() {
        return value;
    }

    public void setValue(Object value) {
        this.value = value;
    }

    public Boolean getChecked() {
        return checked;
    }

    public void setChecked(Boolean checked) {
        this.checked = checked;
    }

    public List<LabelValue> getChildren() {
        return children;
    }

    public void setChildren(List<LabelValue> children) {
        this.children = children;
    }
}
